package com.kingwang.training.designpattern.abstractfactory;

import com.kingwang.training.designpattern.abstractfactory.email.EmailSender;
import com.kingwang.training.designpattern.abstractfactory.email.ShandongEmailSender;
import com.kingwang.training.designpattern.abstractfactory.sms.ShandongSmsSender;
import com.kingwang.training.designpattern.abstractfactory.sms.SmsSender;

public class ShandongNotificationFactory implements NotificationFactory {
    @Override
    public SmsSender createSmsSender() {
        return new ShandongSmsSender();
    }

    @Override
    public EmailSender createEmailSender() {
        return new ShandongEmailSender();
    }
}
